IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityQueryExtensions Class > Join Method : Join<TOuter,TInner,TKey,TResult>(IEntityQuery<TOuter>,IEnumerable<TInner>,Expression<Func<TOuter,TKey>>,Expression<Func<TInner,TKey>>,Expression<Func<TOuter,TInner,TResult>>,IEqualityComparer<TKey>) Method |
'Declaration
<ExtensionAttribute()> Public Overloads Shared Function Join (Of TOuter,TInner,TKey,TResult)( _ ByVal outer As IEntityQuery(Of TOuter), _ ByVal inner As IEnumerable(Of TInner), _ ByVal outerKeySelector As Expression(Of Func(Of TOuter,TKey)), _ ByVal innerKeySelector As Expression(Of Func(Of TInner,TKey)), _ ByVal resultSelector As Expression(Of Func(Of TOuter,TInner,TResult)), _ ByVal comparer As IEqualityComparer(Of TKey) _ ) As IEntityQuery(Of TResult)
'Usage
Dim outer As IEntityQuery(Of TOuter) Dim inner As IEnumerable(Of TInner) Dim outerKeySelector As Expression(Of Func(Of TOuter,TKey)) Dim innerKeySelector As Expression(Of Func(Of TInner,TKey)) Dim resultSelector As Expression(Of Func(Of TOuter,TInner,TResult)) Dim comparer As IEqualityComparer(Of TKey) Dim value As IEntityQuery(Of TResult) value = EntityQueryExtensions.Join(Of TOuter, TInner, TKey, TResult)(outer, inner, outerKeySelector, innerKeySelector, resultSelector, comparer)
[Extension()] public static IEntityQuery<TResult> Join<TOuter,TInner,TKey,TResult>( IEntityQuery<TOuter> outer, IEnumerable<TInner> inner, Expression<Func<TOuter,TKey>> outerKeySelector, Expression<Func<TInner,TKey>> innerKeySelector, Expression<Func<TOuter,TInner,TResult>> resultSelector, IEqualityComparer<TKey> comparer )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2